package de.programmerspain.rv3sf.api;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class RainbowduinoV3Exception extends RuntimeException {
	private static final long serialVersionUID = -7355525966714035796L;
	
	private static final Logger LOGGER = LoggerFactory.getLogger(RainbowduinoV3Exception.class);
	
	public RainbowduinoV3Exception(String message, Exception exception) {
		super(message, exception);
		LOGGER.error(message, exception);
	}
	
	public RainbowduinoV3Exception(String message) {
		super(message);
		LOGGER.error(message);
	}
}
